#!/bin/bash - 
#===============================================================================
#
#          FILE:  ex11-2.sh
# 
#         USAGE:  ./ex11-2.sh 
# 
#   DESCRIPTION: Planets revisited 
# 
#       OPTIONS:  ---
#  REQUIREMENTS:  ---
#          BUGS:  ---
#         NOTES:  ---
#        AUTHOR: bucunzai (), freecityer@gmail.com
#       COMPANY: FreeCity
#       CREATED: 2011年02月09日 15时22分08秒 CST
#      REVISION:  ---
#===============================================================================

set -o nounset                              # Treat unset variables as an error

for planet in "Mercury 36" "Venus 67" "Earth 93" "Mars 142" "Jupiter 483"
do
    set -- $planet
    echo "$1		$2,000,000 miles from the sun."
    #     --two tabs--
done

exit 0
